package com.ziyun.erp.common.e.goods;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * @author guizho
 * @date 2018-09-11 14:00
 */
public enum GoodsCategoryShareStatusEnum implements BaseEnum {

    OPEN(1, "开启"),
    CLOSE(0, "关闭");

    private Integer id;
    private String describe;

    GoodsCategoryShareStatusEnum(Integer id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
